textview: Don't leave embedded children behind
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Nov 2021 22:54:06 +0000 (18:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 Nov 2021 19:17:42 +0000 (14:17 -0500)
commit4c029af6cdd655d365ab6112857a8ea4ce6c7dcd
tree236a851df35fdbac39f215f6dcefc87ae7f1978f
parent1c6efea370b0c8e00e23d5f438777a44a1e8c094
textview: Don't leave embedded children behind

When scrolling embedded widgets out of view,
they sometimes get left behind because we don't
reallocated them. To avoid that, move _all_ children
out of view in size_allocate, and let the current
child allocation plumbing move the visible ones
back in place.
gtk/gtktextview.c